<template>
  <div class="test-container">
    <h1>测试页面</h1>
    <p>这是一个简单的测试页面，用于验证Vue应用是否正常工作。</p>
    <el-button type="primary" @click="handleHome">返回首页</el-button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const handleHome = () => {
  router.push('/')
}
</script>

<style scoped>
.test-container {
  padding: 20px;
  text-align: center;
}

h1 {
  color: #1890ff;
  margin-bottom: 20px;
}

p {
  color: #606266;
  margin-bottom: 20px;
}
</style>